# coding:utf-8
from __future__ import division
def jia(x,y):
	return x+y
def jian(x,y):
	return x-y
def cheng(x,y):
	return x*y
def chu(x,y):
	return x/y
	
suan = {"+":jia, "-":jian, "*":cheng, "/":chu}

x = int(input("输入第一个数："))
o = input("输入运算符：")
y = int(input("输入第二个数："))

res = suan.get(o)(x,y)
print ( x,o,y,"=",res)
input("按任意键结束...")